﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Data;

namespace ICeFramework.DataManagement.Interfaces
{
    [TypeConverter(typeof(ExpandableObjectConverter))]
    public interface IDataType
    {
        int? MaximumLength { get; }
        string Name { get; }
        int? NumericPrecision { get; set; }
        int? NumericScale { get; set; }
        string Schema { get; set; }
        ISqlDataType EnclosedDataType { get; set; }
        DbType DbType { get; }
        string ToSystemDataType(bool nullable);
    }
}
